'use strict';

describe('Filter: totrusted', function () {

  // load the filter's module
  beforeEach(module('homepageApp'));

  // initialize a new instance of the filter before each test
  var totrusted;
  beforeEach(inject(function ($filter) {
    totrusted = $filter('totrusted');
  }));

  it('should return the input prefixed with "totrusted filter:"', function () {
    var text = 'angularjs';
    expect(totrusted(text)).toBe('totrusted filter: ' + text);
  });

});
